package com.aaa.service.impl;

import com.aaa.dao.PtypeDao;
import com.aaa.entity.Ptype;
import com.aaa.service.PtypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class PtypeServiceImpl implements PtypeService {
    @Autowired
    private PtypeDao ptypeDao;
    public List<Ptype> listAll() {
        return ptypeDao.listAll();
    }
}
